Handle expose events moving or resizing windows
authorAlexander Larsson <alexl@redhat.com>
Mon, 14 Sep 2009 11:38:47 +0000 (13:38 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 14 Sep 2009 11:52:40 +0000 (13:52 +0200)
commit6d84fcab760f1aa96eb147ceb749d02dc090ce67
treecd9785cd748dbe00797b1d95af796a50f3cd0ec1
parent2d2dc2c7e99fba24c5c732f5648ff821b4003bc2
Handle expose events moving or resizing windows

When a window is moved or resized from a double-buffered expose handler
we can't really just copy the window region around, as the window
will be overdrawn with the double buffered region when the expose returns.

Instead we remove all regions with outstanding implicit paints from the
region to be copied and just mark this area as invalid to be redrawn
later.

This fixes bug 594880.
gdk/gdkwindow.c